package com;

public class chinafofti {
    public static void isEvenNumber(int num){
    //方法体
        if(num%2==0){
            System.out.println("这个数是偶数");
        }else{
            System.out.println("这个数是奇数");
        }
    }
        public static void main(String[]args){
            isEvenNumber(9);
        }


}
